package com.me.forum.dao;
import java.util.List;
import java.time.LocalDateTime;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.me.forum.domain.Category;
import com.me.forum.domain.Image;
import com.me.forum.request.CategoryRequest;
import com.me.forum.request.ImageRequest;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

@Mapper
public interface IImageDao extends BaseMapper<Image> {

    IPage<Image> selectByAll(@Param("i") ImageRequest ireq, IPage<Image> page);

    int insertSelective(ImageRequest ireq);

    int updateByid(ImageRequest ireq);

    Image selectByUserId(@Param("userId")String[] userId);


}
